package cn.remex.wechat.event;

import cn.remex.web.service.BusinessService;

/**
 * Created by xuyanhua on 2017/4/20.
 */
public class WeChatLocationEvent extends WeChatEventBase{

    private String fromUserName;
    private String toUserName;
    private String eventKey;
    private String latitude;//	地理位置纬度
    private String longitude;//	地理位置经度
    private String precision;// 地理位置精度
    private long createTime;

    public WeChatLocationEvent(String source, String appKey, String appid, String agentid, String fromUserName,String toUserName,String eventKey,String latitude,String longitude,String precision,long createTime) {
        super(source, appKey, appid, agentid);
        this.fromUserName = fromUserName;
        this.toUserName = toUserName;
        this.eventKey = eventKey;
        this.latitude = latitude;
        this.longitude = longitude;
        this.precision = precision;
        this.createTime = createTime;
    }

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getEventKey() {
        return eventKey;
    }

    public void setEventKey(String eventKey) {
        this.eventKey = eventKey;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getPrecision() {
        return precision;
    }

    public void setPrecision(String precision) {
        this.precision = precision;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
